package com.zl.feign.hystrix;

import com.zl.feign.CustomerFeign;
import org.springframework.stereotype.Component;

/**
 * @author zl
 * @date 2023/3/20
 * @apiNote
 */
@Component //这里必须需要加入ioc容器
public class CustomerFeignHystrix implements CustomerFeign {
    @Override
    public String rent() {
        return "熔断之后我是备选的方案";
    }
}
